package edu.yuhf.pac;

public class Test {
		public static void main(String[] args) {
			Storage s=new Storage();
//			StorageForReentrantLock s=new StorageForReentrantLock();
			Producer p1=new Producer(30,s);
			Producer p2=new Producer(20,s);
			Producer p3=new Producer(50,s);
			
			Customer c1=new Customer(20,s);
			Customer c2=new Customer(8,s);
			Customer c3=new Customer(4,s);
			
			Customer c4=new Customer(10,s);
			Customer c5=new Customer(15,s);
			Customer c6=new Customer(30,s);
			p1.start();
			p2.start();
			p3.start();
			
			c1.start();
			c2.start();
			c3.start();
			c4.start();
			c5.start();
			c6.start();
		}
}
